from music import Music
from tank import Tank

images_path = "./images/"
my_tank_u = images_path + "WU.gif"
my_tank_D = images_path + "WD.gif"
my_tank_L = images_path + "WL.gif"
my_tank_r = images_path + "WR.gif"
start_music = images_path + "start.mp3"


class MyTank(Tank):
    def __init__(self, left=380, top=350, speed=2):
        super().__init__(my_tank_u, my_tank_D, my_tank_L, my_tank_r, left, top, speed)
        # 播放音效
        music = Music(start_music)
        music.play()
